package com.cgnpc.scp.manager.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.bean.MyPageRequest;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.cgnpc.scp.common.utils.DateUtil;
import java.util.Date;
import java.util.List;

@TableName("tbl_manager_parameterconfig")
public class ParameterConfig extends MyPageRequest {
    private String paramKey;

    private String paramValue;

    private String paramName;

    private Date createTime;

    private String createUser;

    private String createUserName;

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;

    private String isSystemConfig;

    // 定制的参数
    @TableField(exist=false)
    private List<String> paramKeyList;

    public String getParamKey() {
        return paramKey;
    }

    public void setParamKey(String paramKey) {
        this.paramKey = paramKey == null ? null : paramKey.trim();
    }

    public String getParamValue() {
        return paramValue;
    }

    public void setParamValue(String paramValue) {
        this.paramValue = paramValue == null ? null : paramValue.trim();
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName == null ? null : paramName.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }

    public String getIsSystemConfig() {
        return isSystemConfig;
    }

    public void setIsSystemConfig(String isSystemConfig) {
        this.isSystemConfig = isSystemConfig == null ? null : isSystemConfig.trim();
    }

    public List<String> getParamKeyList() {
        return paramKeyList;
    }

    public void setParamKeyList(List<String> paramKeyList) {
        this.paramKeyList = paramKeyList;
    }
}